home *** CD-ROM | disk | FTP | other *** search
Text File | 1994-01-05 | 96.1 KB | 4,103 lines |
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- NUtils v 7.00
-
- An set of add-on utilities for Novell's NetWare
- Network Operating Systems to provide ease of
- network administration and functionality.
-
- Written by Darwin Collins
- Documentation by Marc Nowell
-
- Copyright 1992,1993 CLS and Darwin Collins
-
-
-
-
-
-
- Table of Contents
-
-
- Introduction.............................................4
- How To Contact Us........................................5
- Licenses, Warranties and Disclaimers.....................6
- Shareware - How to Register..............................7
- NADDRESS.................................................8
- NALLCARD.................................................10
- NCARD....................................................11
- NCHGOWN..................................................12
- NCHKCSYS.................................................13
- NCHKMODM.................................................14
- NCHKRPRN.................................................15
- NCMPDATE.................................................16
- NCMPDRVR.................................................17
- NCOPYIPX.................................................19
- NCOPYNEW.................................................22
- NCOPYSCR.................................................24
- NCPY2SUB.................................................25
- NDATEDIR.................................................26
- NDELFILE.................................................27
- NDELPRNJ.................................................28
- NDISK....................................................29
- NDOSVER..................................................30
- NEMSMEM..................................................31
- NEQUA....................................................32
- NEXPIRE..................................................33
- NGETTIME.................................................34
- NGROUP...................................................35
- NINVENT..................................................36
- NLIST....................................................37
- NLOGADDR.................................................38
- NLOGEVT..................................................40
- NLOGMSG..................................................42
- NMANPCON.................................................43
- NMEM.....................................................45
- NMHS2TXT.................................................46
- NOPNFILE.................................................48
- NQUOTES..................................................49
- NRPTBIND.................................................50
- NRPTCONN.................................................52
- NRPTEQUA.................................................53
- NRPTMHS..................................................54
- NRPTMHSU.................................................55
- NRPTPCON.................................................57
- NRPTSCRP.................................................58
- NRPTOWN..................................................59
- NRPTSUB..................................................60
- NSELPRNJ.................................................61
-
-
- Page 2 of 70
-
-
-
-
-
- NSETTIME.................................................62
- NSTRING..................................................63
- NSUBOWN..................................................64
- NTRAFFIC.................................................65
- NXMSMEM..................................................66
- Table A..................................................67
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Page 3 of 70
-
-
-
-
-
- Introduction
-
- Here are some general but productive utilities for the
- Network Administrator. They are all designed for
- interactive/batch use and work with NetWare 2.15 through 2.2
- and NetWare 3.xx. At time of this release, some testing is
- underway with NetWare 4.00 development code. These
- utilities have been designed to help ease the network
- administrator in his tasks of maintaining the network.
-
- There are at least 50 utilities documented in this
- printable text file. Most are written using Microsoft C 6.0
- and NetWare C Interface for DOS. Also, included are some
- sample batch/login scripts that illustrate some uses for the
- utilities.
-
- Utilities are described in the following documentation
- along with the errorlevel codes. Also, using ? as the first
- parameter when executing a utility will generally display
- the syntax options allowed.
-
- If you have a utility that you would like to see, then
- please send a suggestion with your registration fee. If it
- is feasible to create it, then we will.
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Page 4 of 70
-
-
-
-
-
- How To Contact Us
-
-
- In order of preference/speed of us getting it and
- responding:
-
- 1. MHS Host CLS - (214) 399-8616, - USRobotics HST - Mail
- to SUPPORT@CLS - available direct, CServe, or NHub.
- (Direct is fastest!) Due to financial considerations,
- namely connect time plus five bucks an hour (boo!),
- file attachments cannot be sent through CServe at this
- time. Messages through CServe and NHub will be picked
- up and responded to. Please tell us how to route a
- message back to you via your preferred route, i.e.,
- direct connection, NHUB, CServe, etc.
-
- 2. BBS (The MOCHINE) - (214) 399-8414 - USRobotics Dual
- Standard - Mail to SYSOP or Marc Nowell - NetMail to
- 1:124/1301 (FidoNet) or 8:930/301 (RBBS-Net). We read
- and respond to messages in the NOVELL echo on FidoNet.
-
- 3. US Mail to CLS, 2909 Lawrence, Irving, TX 75061, USA
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Page 5 of 70
-
-
-
-
-
- Licenses, Warranties and Disclaimers
-
-
- I. The shareware version of NUtils may be distributed via
- electronic mail or electronic BBSs and information
- services as long as the contents of this archive have
- not been modified. The shareware distribution set may
- be distributed by software libraries as long as the
- compensation is less than $7.50 for the distribution
- disk. The shareware software may be included with
- other packages or publications only with the permission
- of CLS, which will usually be granted.
-
- II. The registered version of NUtils may not be
- redistributed, and the normal rules of commercial
- copyrighted software apply.
-
- III. NO WARRANTY. ANY USE BY YOU OF THE SOFTWARE IS AT YOUR
- OWN RISK. THE SOFTWARE IS PROVIDED FOR USE AS IS
- WITHOUT WARRANTY OF ANY KIND. CLS, MARC NOWELL, AND
- DARWIN COLLINS DISCLAIM ALL WARRANTIES OF ANY KIND,
- EITHER EXPRESS OR IMPLIED, INCLUDING, WITHOUT
- LIMITATION, IMPLIED WARRANTIES OF MERCHANTABILITY AND
- FITNESS FOR A PARTICULAR PURPOSE.
-
- IV. In other words, NUtils is guaranteed to do nothing more
- than occupy your hard disk. If it breaks in two, you
- own both pieces!
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Page 6 of 70
-
-
-
-
-
- Shareware - How to Register
-
-
- NUtils is shareware. You are free to use it on a trial
- basis for 30 days. If you find it useful and want to
- continue using it, you are required to register a copy. The
- cost is $49.95 in US funds plus sales tax, if you are in
- Texas, USA.
-
- Please see the REGISTER.FRM file in this archive for
- more information.
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Page 7 of 70
-
-
-
-
-
- NADDRESS
-
- NADDRESS Address
- To compare Node Address to this station with specified.
-
- NADDRESS Address /NODE
- To compare Node Address to this station with specified.
-
- NADDRESS Address /SEGMENT
- To compare Segment Address to this station with
- specified.
-
- Wildcard character ? can be used in place of an address
- digit, i.e.: NADDRESS 123? /SEGMENT
- will match anything with the address of 123?, as in
- 00001230, 00001231, ..., 0000123F
-
- This utility compares this workstation's Segment or Node
- Address to a specified value. The primary purpose of this
- utility is to provide a way for batch utilities to be
- executed depending upon the physical address of the
- workstation. For example, this could be used in cases where
- you want to run a specific program on your print server or
- mail server. Another use, could be when you need to verify
- that all workstations of a specific NIC manufacturer or on a
- specific segment need new drivers or that the administrator
- needs to be notified.
-
- Example:
- In a sample batch file:
- NADDRESS 864bf8
- if errorlevel 1 send "Someone logged in on Joe's
- PC." to SUPERVISOR.
- Or,
- NADDRESS 0c5f07 /SEGMENT
- if errorlevel 1 goto VerifyFrameType
- Or,
- NADDRESS 608C????????
- if not errorlevel 1 goto Skip3c505
- rem Copy new 3C505.EXE to replace old IPX.COM
- ncmpdrvr 15 IRQ
- if errorlevel 1 copy f:\drivers\3c505\irq15\net.cfg
- c:\net
- if errorlevel 1 copy f:\drivers\3c505\irq3\net.cfg
- c:\net
- :skip3c505
-
-
-
-
-
-
-
- Page 8 of 70
-
-
-
-
-
- Returned errorlevels are:
-
- 9 - drivers not loaded or other error.
- 1 - it matches this workstation.
- 0 - no match found.
-
- Hint: Workstation Address is displayed when you do a
- USERLIST /A
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Page 9 of 70
-
-
-
-
-
- NALLCARD
-
-
- NALLCARD
-
- This utility will poll all attached workstations for their
- diagnostic packets. It will display the three workstations
- with the most errors and it will create a ASCII data file
- that has the statistics from all polled workstations. The
- ASCII data file can be imported by a spreadsheet program.
- Description of diagnostic codes are listed in Table A.
-
- Returned errorlevels are:
-
- 9 - Syntax error.
- 8 - User Must be logged in.
- 7 - Unable to access current working subdirectory.
- 4 - Unable to initialize IPX.
- 2 - Unable to open (output) report file.
- 0 - Normal Exit.
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Page 10 of 70
-
-
-
-
-
- NCARD
-
-
- NCARD [UserName or Connection Number]
-
- NCARD get stats of current workstation.
- NCARD BRENDA get stats at BRENDA's station, or
- NCARD 34 get stats at Connection # 34.
- (specify the Connection # if the user has
- not yet logged into the server.)
-
- This utility will display the results from the diagnostic
- statistics of the specified workstation. It will only
- display error statistics that are not equal to zero.
- Description of diagnostic codes are listed in Appendix A.
-
-
- Returned errorlevels are:
-
- 9 - Syntax error.
- 8 - User not be logged in.
- 7 - Specified connection is not active.
- 6 - Unable to access info on specified connection.
- 0 - Normal Exit.
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Page 11 of 70
-
-
-
-
-
- NCHGOWN
-
- ** Supervisor equivalence needed to run this utility! **
-
-
- NCHGOWN Drive:\Subdirectory OldOwnerName NewOwnerName
-
- This utility will display/change the directory/file
- ownership of the current working directory and all of its
- subdirectories. Valid owner names consist of Usernames,
- Groupnames and Servernames.
-
- If parameters are not supplied, it will ask for:
-
- OLD OWNER NAME to search for, or NA for deleted owners,
- or ALL for all owners found in the subdirectories
-
- NEW OWNER NAME what will be tagged onto the files
-
- Sample usages: Files owned by deleted owners may be "re-
- owned" by valid users; correctly document disk space usage
- by ownership; overcome accounting limitation dealing with
- deleted users; used with NRPTOWN can produce an accurate
- disk space consumption report for administration or
- documentation purposes.
-
- Example:
-
- NCHGOWN \APPS\ACAD11 ALL AUTOCAD
-
- will change the ownership of all files/directories at
- \APP\ACAD11 and all its subdirectories to the group
- owner AUTOCAD.
-
-
- Returned errorlevels are:
-
- 9 - Syntax error.
- 8 - User Must be logged in.
- 7 - Unable to access current work subdirectory.
- 6 - Must be supervisor or equivalent.
- 5 - Operating error.
- 4 - Unable to access specified subdirectory / not a
- server subdirectory.
- 3 - Unable to access subdirectory.
- 0 - Normal Exit.
-
-
-
-
-
-
-
- Page 12 of 70
-
-
-
-
-
- NCHKCSYS
-
-
- NCHKCSYS MinimumFiles MinimumBuffers MinimumEnvironment
-
- This utility will read the workstation's (C:\CONFIG.SYS)
- file and check if the file has the minimum count of items
- that you specify above.
-
- If COMMAND.COM does not exist on Drive C:, it will then
- attempt to read CONFIG.SYS on Drive A:
-
- Sample usage: Modifying all workstations so that they will
- reserve more environment space (needed if your users have a
- lot of SET and/or PATH parameters); ensure that all
- workstations in the field have the needed minimum conditions
- to operate safely on the network; to overrule an individual
- "fooling" with his workstation.
-
-
- Returned errorlevels are:
-
- 9 - Syntax error.
- 7 - Error reading CONFIG.SYS
- 6 - Error writing CONFIG.SYS
- 5 - Wrote new CONFIG.SYS
- 4 - Files number increased.
- 3 - Buffers number increased.
- 2 - Environment space number increased.
- 0 - No changes made to CONFIG.SYS
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Page 13 of 70
-
-
-
-
-
- NCHKMODM
-
-
- NCHKMODM [M]
-
- This utility will check for modems or mice on serial ports.
- If no parameters are specified, modems will be checked for.
- If the M parameter is specified, a mouse will be checked
- for.
-
- Note: This utility can find serial mice but not bus mice if
- the mouse driver is not loaded.
-
- Returned errorlevels are:
-
- 1 - Modem or mouse device found
- 0 - Device not found
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Page 14 of 70
-
-
-
-
-
- NCHKRPRN
-
-
- NCHKRPRN PrintServerName ALL
- To display status of all printers on specified Print
- Server.
-
- NCHKRPRN PrintServerName Printer#
- To display status of specified printer and specified
- Print Server.
-
- NCHKRPRN CHECK
- Read the (\PUBLIC\NCHKRPRN.LST) file listing to check if
- the current workstation should be running RPRINTER. If
- it is, then report the status of the specified RPRINTER
- (Not Connected, Change Paper, Ready...). If a Print
- JobName exists in the \NCHKRPRN.LST file for the current
- station, then start a CAPTURE using the specified Print
- JobName.
-
- This utility will report the current status of the specified
- printer on the specified print server. Also, it can warn
- the user that his printer needs attention, and return an
- errorlevel based upon the printer status. This errorlevel
- will enable the administrator to modify the flow on the
- batch file.
-
- The following example will check to see if the current
- workstation should be running RPRINTER. If it should, then
- check the status. If RPRINTER is NOT CONNECTED (level: 2),
- then PAUSE the screen so that the end user can see the
- message. Otherwise, if it is not that error, then skip to
- the rest of the batch file.
-
- NCHKRPRN CHECK
- IF ERRORLEVEL 3 GOTO NOPROB
- IF NOT ERRORLEVEL 2 GOTO NOPROB
- rem Not Connected
- PAUSE
- :NOPROB
-
-
- View the file NCHKRPRN.LST for the correct data format of
- workstation RPRINTER information.
-
- Sample usages: when setup it will warn the end user that he
- needs to take action (Turn ON Printer, Reboot...) for the
- printer that is directly attached to his station, while
- running with RPRINTER.
-
-
-
-
- Page 15 of 70
-
-
-
-
-
- NCMPDATE
-
- NCMPDATE Drive:\Subdirectory\FileName MM/DD/YY
-
- This utility will compare the specified date with the
- specified file's modification date. This is useful when
- used in batch files to control the updating of files based
- on their last date of modification.
-
- Example: NCMPDATE C:\NET\IPX.COM 02/01/91
-
- Returned errorlevels:
-
- 4 or greater if there was a fatal error or other...
- 3 - specified file could not be accessed
- 2 - if file's date is later than the specified date
- 1 - if file's date is equal to the specified date
- 0 - if file's date is sooner than the specified date
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Page 16 of 70
-
-
-
-
-
- NCMPDRVR
-
-
- NCMPDRVR IPXVersion IPX
-
- Compare the currently loaded drivers with specified
- parameters.
-
- This utility will read information from the currently loaded
- workstation shells, and depending on the specified command
- (and result), will return a errorlevel.
-
- This errorlevel can be used in batch files for executing
- update routines, or just notifying the network administrator
- when the workstation is running a specified driver.
-
- To compare the IPX driver version currently in memory.
-
- syntax: NCMPDRVR
- example: NCMPDRVR 3.10 IPX
-
- Returned errorlevels:
-
- 2 or greater if there was a fatal error or could not
- check version
- 1 - if currently loaded IPX >= specified IPX version
- 0 - if currently loaded IPX < specified IPX version
-
-
- To compare the IRQ number currently in memory.
-
- syntax: NCMPDRVR IRQAddress IRQ
- example: NCMPDRVR 15 IRQ
-
- Returned errorlevels:
-
- 2 or greater if there was a fatal error or could not
- check version
- 1 - if loaded IPX uses the specified IRQ address
- 0 - if loaded IPX does not use the specified IRQ address
-
-
- To compare the Network shell currently in memory.
-
- syntax: NCMPDRVR ShellVersion NETX
- example: NCMPDRVR 3.22 NETX
-
-
-
-
-
-
-
- Page 17 of 70
-
-
-
-
-
- Returned errorlevels:
-
- 2 or greater if there was a fatal error or could not
- check version
- 1 - if currently loaded shell >= specified shell
- version
- 0 - if currently loaded shell < specified shell
- version
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Page 18 of 70
-
-
-
-
-
- NCOPYIPX
-
-
- NCOPYIPX WorkStationDrive:\Path\IPX.COM
-
- This utility will read the workstation's IPX.COM version and
- configuration information. It will match this against the
- master on the server, and if the workstation doesn't match,
- it will copy IPX.COM from the server to the workstation.
-
- New on Sept. 19, 1991: This utility will read NCOPYIPX.LST
- in the current working subdirectory. This list file will
- contain workstation LAN option names, and the path name that
- the drivers will be found for the specified driver type.
- So, hence, you CAN separate drivers that are made by the
- same manufacturer and/or different driver types made for the
- same card type. Read NCOPYIPX.LST for syntax of readable
- text list file.
-
- This utility can run as a standalone without the
- workstation's network drivers loaded.(if needed)
-
- Sample usage: (Easily!) upgrade workstations to different
- IPX versions (IPX.COM).
-
- The current working subdirectory (that this program is
- called from) must have a structure that is in a
-
- PathName \ Interrupt# \ I/O Base \ IPX.COM order.
-
- For example:
-
- G_ETHERN\IRQ3
- G_ETHERN\IRQ3\II
- G_ETHERN\IRQ5\220h
- G_ETHERN\IRQ5\240h
- G_ETHERN\IRQ15\240h
- G_ETHERN\IRQ15\240h\II
- NETWORTH\IRQ12\240h
- NETWORTH\IRQ15\240h
- NETWORTH\IRQ15\240h\II
-
- Ethernet II frame IPX files are in II subdirectory.
- This utility can read the difference between a
- normal 802.3 and an Ethernet II type frame. The
- Ethernet_II framed IPX.COM but be located in the II
- subdirectory of the interrupt or the IOBase
- subdirectory.
-
- If the driver (IPX.COM) does not exist in the I/O Address
- subdirectory, then it will look in the Interrupt
-
-
- Page 19 of 70
-
-
-
-
-
- subdirectory. (Thus, it will get a NetWorth Irq=15
- IOBase=340h 's IPX.COM from the NETWORTH\IRQ15 subdirectory
- if NETWORTH\IRQ15\340h does not exist.)
-
-
- This utility has been tested on drivers by:
- 3-COM Thin Wire NICs
- Networth 10BaseT NICs
- Gateway Thin Wire NICs
- Western Digital Thin Wire NICs
- Xircom 10BaseT Adapters
-
- One of the wonderful things about the 16 bit cards is that
- you can set the cards for higher interrupts than 10 to
- reduce the possibilities of conflict.
-
- Sample setup:
-
- in a batch file is:
- CD F:\SUPPORT\DRIVERS change to driver
- subdirectory
- NCOPYIPX C:\NET\IPX.COM execute this utility with
- it specifying that the
- workstation drivers are in
- C:\NET subdirectory.
-
- The program will first read the manufacturer, IRQ, and
- I/O Base from the IPX driver. It will display a message
- similar to:
-
- Workstation Lan Option: Networth ...
- Path: Networth Irq: IRQ15 Base: 340h
-
- the program will first look in the subdirectory
- NETWORTH\IRQ15\340H for the IPX.COM file, if it doesn't
- find it here then it go to the NETWORTH\IRQ15
- subdirectory. These subdirectories (NETWORTH\IRQ15,
- ...) must be found under the current subdirectory (i.e.
- F:\SUPPORT\DRIVERS in this example) or else a message
- will be returned that the driver was not found.
-
-
-
-
-
-
-
-
-
-
-
-
-
- Page 20 of 70
-
-
-
-
-
- Returned errorlevels:
-
- 9 - Incorrect or short command line parameter
- 8 - Workstation IPX.COM not found
- 7 - Could not read workstation's temporary IPX
- 6 - Server IPX.COM not found
- 5 - Could not write workstation IPX.COM
- 4 - Could not read server IPX.COM
- 3 - Error writing new IPX.COM file
- 1 - Workstation IPX.COM has been updated
- 0 - Date/Time stamp same between Server and Workstation
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Page 21 of 70
-
-
-
-
-
- NCOPYNEW
-
-
- NCOPYNEW [!]Drive:\Path\SourceFileName
- Drive:\Path\DestFileName
-
- Supports:
- Single FileName to Same Single FileName
- ie: NCOPYNEW I:NET.CFG C:NET.CFG
- Single FileName to Different Single FileName
- ie: NCOPYNEW I:3C505.CFG C:SHELL.CFG
- Wildcards(*,?) to Destination DirectoryName
- ie: NCOPYNEW I:3C505.* C:\NET
-
- This utility will copy contents of SourceFileName to
- DestFileName, if DestFileName is older than SourceFileName
- or if DestFileName does not exist. If a ! mark is
- immediately before the source filename prompt, then the
- "copy" operation will occur if the the source and
- destination files are NOT date/time stamped IDENTICALLY.
-
- This utility is small enough that it may be called (shelled
- to ) by another program.
-
- Sample usages: Distribute newer versions of software that
- is used on the workstation; distribute memos, files, and
- other mass distribution.
-
- Examples:
-
- NCOPYNEW F:\APPS\MASTER\BATCH\PHONE.TXT C:\WORD
- Copies PHONE.TXT if the source copy is newer than
- the destination.
-
- NCOPYNEW !F:\APPS\MASTER\BATCH\PHONE.TXT C:\WORD
- Copies PHONE.TXT, if the source copy is different
- than destination.
-
- NCOPYNEW F:\APPS\MASTER\BATCH\FILES.* C:\WORD
- Copies any files matching FILES.* to the
- subdirectory C:\WORD, if the file is newer than
- those matching in the destination sub.
-
- Note! Remember C:AUTOEXEC.BAT is not the same as
- C:\AUTOEXEC.BAT
-
-
-
-
-
-
-
-
- Page 22 of 70
-
-
-
-
-
- Returned errorlevels:
-
- 9 - Invalid syntax
- 8 - Could not find the source file
- 7 - Error occurred while accessing destination file
- 6 - Error occurred while writing to destination file
- 1 - Source filename copied over destination filename
- 0 - Date/Time stamp same
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Page 23 of 70
-
-
-
-
-
- NCOPYSCR
-
-
- NCOPYSCR Drive:\Path\ScriptFile
-
- This utility is similar to NCOPYNEW except that it reads a
- script file instead of the prompt line. A sample script
- file is provided. See the file ALLUSERS.SCR as an example
- script file.
-
- If the symbol ! is used before the source path\filename in
- the script file, then the utility will copy the file to the
- destination if the date/time stamp is not the same. If no
- beginning symbol is used, then the normal "copy if outdated"
- rule applies.
-
- Sample usages: Distribute newer versions of software that
- is used on the workstation; distribute memos, files, and
- other mass distribution.
-
-
- Returned errorlevels:
-
- 9 - Syntax error.
- 8 - Unable to find script file.
- 6 - Error writing destination file.
- 0 - Normal exit.
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Page 24 of 70
-
-
-
-
-
- NCPY2SUB
-
-
- NCPY2SUB Drive:\Path\FileName
-
- This utility will copy FileName to all existing
- subdirectories of the current default subdirectory.
-
- Example:
- When the current subdirectory is \GRP\DOC,
- NCPY2SUB \USR\SMITH\BLANKMEM.DOC
- will have the result that BLANKMEM.DOC will be copied to
- all subdirectories of \GRP\DOC, such as
- \GRP\DOC\AL, \GRP\DOC\BRENDA, \GRP\DOC\CARL,....
-
- Sample usages: distribution of configuration/document files
- to individual subdirectories that are below current working
- subdirectory.
-
- Note: This utility in the past was very useful for it was a
- quick way to copy the PRINTCON.DAT (Print Job Configuration
- file) to all users but now the utility NMANPCON does a much
- better job of this.
-
-
- Returned errorlevels:
-
- 9 - Syntax error.
- 8 - Unable to find specified file.
- 6 - Error writing destination file.
- 0 - Normal exit.
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Page 25 of 70
-
-
-
-
-
- NDATEDIR
-
-
- NDATEDIR Drive:\Subdirectory
-
- This utility will set all files in the current working
- subdirectory (or specified in the command line) to the
- current Date/Time stamp.
-
- Sample usages: Marking files that you want to always to be
- archived by the backup software; mark document
- subdirectories with all the same date/time stamp.
- (Especially useful for those important databases that you
- want to ensure that they are completely backed up even
- during incremental backup sessions)
-
-
- Returned errorlevels:
-
- 9 - Syntax error.
- 8 - Error accessing home subdirectory.
- 7 - Error accessing specified subdirectory.
- 0 - Normal exit.
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Page 26 of 70
-
-
-
-
-
- NDELFILE
-
-
- NDELFILE Drive:\Path FileMask
-
- This utility will delete all files matching the specified
- FileMask starting at the specified Drive:Path subdirectory
- and all its nested subdirectories. The FileMask may contain
- wildcard (?,*) characters.
-
- This utility can be used in a batchfile or interactively.
- If interactive, then typing NDELFILE, alone will display a
- prompt for the desired subdirectory structure and the
- specified filemask(filename). If batch, then you will need
- to type the specified Drive:\Path and FileMask in the
- command line when executing NDELFILE.
-
- Warning! This utility will not verify if the file should or
- should not be deleted, it will simply do what you told it!
-
- Sample usages: Delete those .BAK and other backup files
- that are left by user programs to save diskspace; run this
- process after doing a full backup of the server; run this
- process if a maintenance robot (ei. NDISK.EXE) finds that
- diskspace is very low.
-
-
- Returned errorlevels:
-
- 9 - Syntax error.
- 7 - Unable to find specified subdirectory.
- 6 - Encountered error when changing subdirectories
- 1 - Found no files to delete.
- 0 - Normal exit.
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Page 27 of 70
-
-
-
-
-
- NDELPRNJ
-
-
- NDELPRNJ QueueName UserName
-
- This utility will delete all Print Jobs created by UserName.
- The user executing this utility must have sufficient rights
- to delete print jobs. If only the QueueName is specified,
- then all Print Jobs that the user has security rights can be
- deleted for the specified queue. If the QueueName and
- UserName is specified, then all Print Jobs for the specified
- Queue and UserName are deleted.
-
- Sample usages: Allow users delete their active print jobs
- by selecting an option in your menuing system; Delete all
- hung (out of paper, printer offLine, ...) print jobs so that
- the backup machine (usually after midnight) may backup the
- file server without waiting forever on the queue files to
- close (Thus, also backing up the queue directory
- structures).
-
-
- Returned errorlevels:
-
- 9 - Syntax error.
- 8 - Must be logged in.
- 7 - Unable to find specified queue.
- 6 - Unable to find specified username.
- 5 - Insufficent queue rights.
- 4 - Unable to access print job list.
- 2 - Specified queue is empty.
- 1 - Deleted available print jobs.
- 0 - Normal exit.
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Page 28 of 70
-
-
-
-
-
- NDISK
-
-
- NDISK Drive:
-
- This utility will display the total capacity and available
- disk space of specified drive. The available disk space
- will also be returned as an errorlevel in increments of 1
- megabyte (1024 * 1024 bytes). The maximum errorlevel
- returned is 255.
-
- Sample usages: help alert the administrator to low disk
- space available; placed in a batch file will automatically
- delete redundant files if disk space is low.
-
- Returned errorlevels:
-
- XXX - Number of megabytes of free space on drive.
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Page 29 of 70
-
-
-
-
-
- NDOSVER
-
-
- NDOSVER
-
- This utility will return the major dos version as a
- errorlevel exit code. This is useful for batch files that
- need to call specific programs based on the DOS version.
-
- Sample Use: Load the correct version of NETx.COM, check for
- old versionf of DOS.
-
-
- Returned errorlevels:
-
- 5 - DOS 5 or later found
- 4 - DOS 4 or later found
- 3 - DOS 3 or later found
- 2 - DOS 2 or later found
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Page 30 of 70
-
-
-
-
-
- NEMSMEM
-
-
- NEMSMEM
-
- This program will return the amount of Expanded Memory (EMS)
- available. It will return the amount 10K increments as an
- Errorlevel. For example, if NEMSMEM found 2304K available,
- then it will return with an errorlevel of 230. The maximum
- errorlevel that can be returned is 255.
-
- Sample usages: Insert before a application call in a batch
- file, if there isn't enough memory available, goto the
- appropriate message in the batch file.
-
-
- Returned errorlevels:
-
- XXX - Number of megabytes of free EMS memory.
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Page 31 of 70
-
-
-
-
-
- NEQUA
-
-
- NEQUA Objectname
-
- This utility will return an errorlevel of 0 if the current
- user is a security equivalent of specified object,
- errorlevel 1 if it is not equivalent.
-
- Sample usage: batch files can be tuned to specific types of
- users.
-
-
- Sample: NEQUA SUPERVISOR
- IF ERRORLEVEL 1 THEN GOTO (normal user)
- super-batch-stuff
-
- Returned errorlevels:
-
- 1 - User is not security equivalent
- 0 - User is security equivalent
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Page 32 of 70
-
-
-
-
-
- NEXPIRE
-
-
- NEXPIRE [username]
-
- Returns number of days before password expiration. If
- username is specified, the number of days remaining for that
- user's password will be returned, else the current user will
- be used for the return.
-
- Returned errorlevels:
-
- xxx - Number of days before password expiration.
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Page 33 of 70
-
-
-
-
-
- NGETTIME
-
-
- NGETTIME
-
- This utility will display the current date / time on all
- attached servers. This will help you decide if you need to
- run NSETTIME.
-
-
- Returned errorlevels:
-
- 1 - User must be logged in.
- 0 - Normal exit.
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Page 34 of 70
-
-
-
-
-
- NGROUP
-
-
- NGROUP GroupName
-
- This utility will return an errorlevel of 0, if the current
- user is a member of specified GroupName. Errorlevel 1, if
- it is not a member.
-
- Sample usage: batch files can be tuned to specific types of
- users.
-
- Sample:
-
- NGROUP BTRIEVE
- IF ERRORLEVEL 1 THEN GOTO (normal user)
- load Brequest
- other Btrieve specifics
- etc...
-
- Sample:
-
- NGROUP ANTIVIRUS
- IF ERRORLEVEL 1 THEN GOTO (skip this section)
- run antivirus
-
-
- Returned errorlevels:
-
- 1 - User is not a member of group
- 0 - User is a member of group
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Page 35 of 70
-
-
-
-
-
- NINVENT
-
-
- NINVENT [Filename]
-
- Collect and display configuration on this workstation.
- NINVENT willdisplay info on screen only, NINVENT Filename
- will append info to the specified file
-
- If appended to a specified file, the information will be in
- ASCII comma-delimited format which can be read easily into a
- spreadsheet program.
-
- Sample output:
-
- Network User: DARWIN
- Network Address: 6:000061E5B4FC
- IPX Version: 3.10
- Shell Version: 3.26 Rev A
- LanCard Name: G/Ether 16
- LanCard Setting: IRQ B Port 02A0
- Conv Memory Size: 518 K
- EMS Memory Size: 2000 K
- XMS Memory Size: 1904 K
- EXT Memory Size: 0 K
- Drive C Available: 17 M
-
-
- Returned errorlevels:
-
- 9 - Help
- 8 - Not logged in / unable to do query user
- 6 - Unable to do diagnostics
- 1 - Unable to append to specified file
- 0 - Successful
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Page 36 of 70
-
-
-
-
-
- NLIST
-
-
- NLIST [/P]
-
- /P is optional command, it will pause the screen every 25
- lines so that you may 'page' thru the output text.
-
- The purpose of this utility so that you can get an overview
- of the status of the file servers on your network. It will
- display the names, NetWare version, and network address of
- all servers. It will also give a summary of the connections
- in use for those servers that you are logged in. This very
- useful if you have any Hewlett Packard Network Interface
- cards or Castelle Print Server equipment becuase it will
- display connections that have defined in PCONSOLE but are
- not online.
-
- For example, when the utility executes, it sees that you
- have defined four print servers on a (logged on) file
- server. It will check to see if those four print servers
- are attached to the file server, if they are not, it will
- display the print server's name on the screen.
-
- Also, if you configure special access users (like
- Supervisor, MHS, FAX, Super, Tape...), with a FullName that
- starts with a - (minus sign), then NLIST will display these
- user names if they are logged in. (This is handy to check
- and see if your special accounts are currently operational.)
-
-
- Returned errorlevels:
-
- 9 - Network driver not loaded or too old.
- 2 - Could not attach to a file server.
- 1 - One or more print servers are not attached.
- 0 - Success/normal exit
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Page 37 of 70
-
-
-
-
-
- NLOGADDR
-
-
- NLOGADDR Drive:Path\FileName [/N]
-
- /N is optional command that will ask the user to type in a
- 30 character description of this workstation.
-
- This utility will get physical address of the workstation
- and insert this information into the database specified by
- FileName.
-
- Sample usages: Track login usage at the workstation level;
- trace program usage by physical station; trace previous
- logins at work station; track usage of work stations; track
- workstation conditions, allows a network administrator a
- quick way to find who had been accessing a program by a
- specific workstation.
-
- Example placed in a batch file:
-
- NDISK C:
- IF ERRORLEVEL 2 NLOGADDR F:\WARNINGS\LOWDISK.LST
- IF C:\WP\WP.EXE NLOGADDR F:\INVENT\WPUSER.TXT
-
- The database file is in a fixed format (CR/LF) text file, so
- the administrator can do searches/lookup using any text
- editor.
-
- DataFile Layout: Field Name Length
-
- Physical Address 14
- Notes 32
- Last Login Date 9
- Last Login Time 6
- Last Login Name 16
- Previous Login Date 9
- Previous Login Time 6
- Previous Login Name 16
- 2nd Previous Login Date 9
- 2nd Previous Login Time 6
- 2nd Previous Login Name 16
- Blank Space (20h) 1
- Carriage Return (0Dh) 1
- Line Feed (0Ah) 1
- ====
- Total 140
-
-
-
-
-
-
- Page 38 of 70
-
-
-
-
-
- Returned errorlevels:
-
- 9 - Syntax error.
- 8 - Could not read/write to data file
- 7 - Could not get workstation physical address
- 2 - Added login time to existing record
- 1 - Added record for this physical address
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Page 39 of 70
-
-
-
-
-
- NLOGEVT
-
-
- NLOGEVT Command Drive:\Path\Datafile
-
- Command choices:
-
- B Begin Date/Time Event for workstation (log to
- specified data file)
-
- E End Date/Time Event for current workstation (log to
- specified data file)
-
- R Create user (summary and sorted) usage report for
- specified data file.
-
- This utility will track usage of events. These events could
- range anywhere from keeping track of user login time to
- application utilization. The data will be kept in the
- specified data file (random-access fixed-field text file).
- This raw file can be viewed or printed by the network
- administrator.
-
- For example, you may want to keep track of who and how often
- end users will execute a specific application. In this case
- you would begin the event (i.e., NLOGEVT B APP1) before you
- execute the application. Then, in your batch file, you
- would end the event (i.e., NLOGEVT E APP1) after you have
- finished the application. Later, when you view (or do a
- report) on the specified log file (NLOGEVT R APP1), you
- would see some usage stats on the user,
- such as:
-
- Address Physical Address that the enduser was at when
- the application was run.
-
- LoginName LoginName of the user that accessed the
- specified event.
-
- StartDate Start date of the event for the displayed
- loginname and station.
-
- StartTime Start time of the event for the displayed
- loginname and station.
-
- EndDate End date of the event for the displayed
- loginname and station.
-
- EndTime End time of the event for the displayed
- loginname and station.
-
-
-
- Page 40 of 70
-
-
-
-
-
- Abends Number of times that the enduser rebooted or
- otherwise did not end event (NLOG E APPNAME)
- after running the application. Or, in other
- words, the number of times that the utility
- was told to begin an event that already had
- started.
-
- Event Count Number of times that an event occurred, or the
- number of times that an enduser had accessed
- the specified event.
-
- Event Amount Total number of hours that the specified event
- has accumulated.
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Page 41 of 70
-
-
-
-
-
- NLOGMSG
-
-
- NLOGMSG Drive:Pathname\FileName MessageString [/P] [/S]
-
- This utility is normally used in batch files, to record(log)
- an event or error that has taken place. The user provides a
- file name and a message. The 'message' will be appended to
- the end of the log file named, along with the Login name,
- date, and time of the event. If the optional /P is
- specified, the physical node address of the station will be
- added to the line. If the optional /S is specified, the
- server name will be added to the data file listing as well.
-
- Example contents: (depending on switches specified)
-
- DARWIN 02/13/92 15:30 Exited to DOS Prompt
- KEVIN 02/13/92 16:00 Found outdated NETX
-
-
- The structure of the appended record is:
-
- LoginName 15 char
- File server name 13 char [optional!]
- Network node address 13 char [optional!]
- Date 9 char
- Time 9 char
- Message text 32 char
-
- Note: The message string may have quotes around the text.
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Page 42 of 70
-
-
-
-
-
- NMANPCON
-
-
- NMANPCON [UserName or GroupName]
-
- NMANPCON BRENDA Create new printer configuration file for
- user BRENDA.
-
- NMANPCON EVERYONE Create a new printer configuration file
- for all users that are a member of group
- EVERYONE.
-
- This utility will first copy the Supervisor's PRINTCON.DAT
- to specified users, and then for each user, it will remove
- job configurations that the individual user does not have
- sufficient security to access, i.e., not a member of queue
- user
-
- So, if you are using this with the utility NSELPRNJ, you
- never have to explain about printer job names that the users
- don't have access to, because they simply aren't displayed!
-
- Also, this will enable you to not worry about going through
- the PRINTCON routine for all your users whenever a new
- jobname, printer, or other changes are required. Now, just
- set up the supervisor's PRINTCON configuration the way you
- like it, and then run this utility. All users will then
- have a correct printcon file.
-
- You would need to only run this utility if:
-
- Modified the supervisor's PRINTCON.DAT file and want it
- to effect other users.
- If it only effects a specific group, do:
- NMANPCON GroupName
- If it effects everyone, then do:
- NMANPCON EVERYONE
-
- Added a new user, and so you want to create the user's
- PRINTCON.DAT configuration from the master copy.
- NMANPCON NewUserName
- and that's it!
-
- Sample usages: Make maintaining PRINTCON.DAT files a breeze
- because you only have to maintain on master copy; used in
- conjunction with NSELPRNJ makes an easier to use and
- maintain printer system; run this utility after creating new
- users will then result in a PRINTCON.DAT file correctly
- configured for those users.
-
-
-
-
- Page 43 of 70
-
-
-
-
-
- Returned errorlevels:
-
- 9 - Syntax error.
- 8 - Must be logged in.
- 7 - Unable to access current subdirectory.
- 6 - Unable to find specified user or group.
- 5 - Unable to access server's MAIL subdirectory.
- 4 - Unable to access Supervisor's PRINTCON.DAT file.
- 3 - Error in Supervisor's PRINTCON.DAT file structure.
- 0 - Normal exit.
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Page 44 of 70
-
-
-
-
-
- NMEM
-
-
- NMEM
-
- This small utility will report amount of conventional memory
- available to programs. It will return an errorlevel by 10K
- increments. For example, if NMEM detects that 250K is
- available then it will return an errorlevel of 25.
-
- Sample usages: Insert before a application call in a batch
- file, and if there isn't enough memory available, then goto
- the appropriate message in the batch file.
-
- Returned errorlevels:
-
- XXX - (Number of kilobytes of free conv. memory) / 10
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Page 45 of 70
-
-
-
-
-
- NMHS2TXT
-
-
- NMHS2TXT.EXE must be renamed to OUTPOST.EXE when it is
- copied to the defined gateway's PUBLIC subdirectory.
-
- MHS will execute this utility when it sends Email to the
- Gateway's OUT sub,and convert the email message to a (word
- wrapped) text file called OUTPOST.TXT in
- \MHS\MAIL\GATES\(GatewayName)\OUT subdirectory. Then the
- utility will shell and execute the NMHS2TXT.BAT file that
- you have created in the \MHS\MAIL\GATES\(GatewayName)\PUBLIC
- subdirectory.
-
- Sample usage: Useful in multiple MHS locations when
- automatically transfering text files on a routine basis.
-
- For example: An MHS location creates a daily company report
- and is emailed to all member MHS sites. At the receiving
- site, the mail message will be converted to a text file and
- placed in a common subdirectory for all to access. (This is
- good for several reasons: 1 - can be done automatically at
- any frequency or time of day, 2 - reduces hard disk space
- needed to store one document instead of multiple email
- messages....)
-
-
- To install:
-
- Create a new gateway in MHS's Directory Manager section.
- Note: Do not create a Gateway command.
-
- Add the gateway name to 'User Routes' in MHS's Directory
- Manager.
-
- COPY NMHS2TXT.EXE to
- \mhs\mail\gates\(GatewayName)\public\OUTPOST.EXE
-
- Note: Yes, it should be called OUTPOST.EXE in this
- subdirectory.
-
- Create a NMHS2TXT.BAT in
- \MHS\MAIL\GATES\(GatewayName)\PUBLIC
-
- This batch could copy the file to the desired
- location or other things.
- Note: FileName NMHS2TXT.EXE must not exist in this
- same PUBLIC sub.
- A sample can be found in the SAMPLES.LZH file.
-
-
-
-
- Page 46 of 70
-
-
-
-
-
- Now, whenever you send a message to GateWayName @
- GateWayName, the utility will make it a text file and
- manipulate it.
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Page 47 of 70
-
-
-
-
-
- NOPNFILE
-
-
- Netware 286 environment: Full functionality
-
- Netware 386 environment: NOPNFILE can only list open
- files by Username and
- ConnectionNumber
-
- NOPNFILE username
- to report all openfiles at a user connection
-
- NOPNFILE connection number
- to report all openfiles at specified connection
-
- NOPNFILE
- to scan current subdirectory for open files
-
- Sample usage:
-
- NOPNFILE BRENDA get stats at BRENDA's station,
- NOPNFILE 34 get stats at Connection # 34,
- NOPNFILE will search the current
- directory for any open files.
-
- This utility will display the files that are open and
- current access levels.
-
- Returned errorlevels:
-
- 9 - Syntax error.
- 8 - Must be logged in.
- 7 - Must have console operator rights.
- 6 - Specified user not found.
- 5 - Specified user is not logged in.
- 1 - Opened files found.
- 0 - No open files found.
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Page 48 of 70
-
-
-
-
-
- NQUOTES
-
-
- NQUOTES Drive:\Path\Filename.ext
-
- This will display a random message (based on system date and
- time) from quote file, NQUOTES.TXT. This may be used to
- provide a "though for the day" type login messages.
-
- The Filename is in simple text file format: Each quote
- starts at the beginning of the line, use a blank space at
- the beginning of the line to continue a quote.
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Page 49 of 70
-
-
-
-
-
- NRPTBIND
-
-
- NRPTBIND Objectname [Switch]
-
- If Objectname is a User, then a User Report is created,
- switch parameter is ignored.
- i.e., NRPTBIND BONNIE
- for a User Report on user BONNIE
-
- If Objectname is a Group, then the below choices are allowed
- for the switch:
- D Create a comma ASCII file on user info
- M Create MHSREMOTE.BAT & MHSLOCAL.BAT files
- N Create report for specified group
- S Display status on all members of group
- Y Create report for all members of group
-
- If Objectname is a Queue, then a Queue Report is created,
- switch is ignored.
- i.e., NRPTBIND HP-QUEUE
- for a queue report on queuename HP-QUEUE.
-
- If Objectname is a PrintServer, then a PrintServer Report is
- created, switch parameter is ignored.
- i.e., NRPTBIND TRITON-P
- for a PrintServer Report about PrintServer named TRITON-
- P
-
- This utility will create a report for individual users,
- groups, print queues, and print servers depending on the
- specified command.
-
- If it is a User Report, then it will contain Account
- Information, Direct Trustee Assignments, Group Members,
- Security Equivalences, and Queue Membership.
-
- If it is a Group Report, then it will only contain Direct
- Trustee Assignments, Group Members and Queue Membership.
-
- The D option is to create a comma-delimited ASCII file
- on user login and security information of the specified
- users. The file can be imported into Lotus 123 or other
- spreadsheet packages.
-
- The M option is to create a MHSREMOTE.BAT and
- MHSLOCAL.BAT file that you can run on your local MHS
- host and other MHS hosts to create an accurate routing
- table for your MHS sites.
-
-
-
-
- Page 50 of 70
-
-
-
-
-
- For example, currently if you create a Netware
- user, you would need to manually enter the user as
- a 'User at this Host' on your local MHS system, and
- add them to 'Users Routes' on your other MHS hosts.
- Well, now, you can use the above batch files that
- will use MHS's own utility (MHSUSER) to maintain
- accurate routing information for your MHS hosts.
-
- MHSLOCAL.BAT is ran on the same MHS host server
- that you ran the NRPTBIND utility on, for it
- creates an accurate 'Users at this Host' routing
- table for MHS.
-
- MHSREMOTE.BAT is ran on other MHS host servers than
- you ran the NRPTBIND utility on, for it creates an
- accurate 'User Routes' routing info for MHS.
-
- The S option is to display a 'quick' status of
- 'important' login and security information of the
- specified users.
-
- If it is a Queue Report, then it will contain a Queue
- Subdirectory, Queue Servers, Queue Operators and Queue
- Users.
-
- If it is a PrintServer Report, then it will contain a list
- of the PrintServer's operators and users. Configurations
- for all configured printers, with its defined queue and
- notify settings.
-
- Note: You must a supervisor equivalent to run this report,
- or else it will only let you run a report on yourself.
-
- Sample usages: Document newly created users/groups/queues,
- check status on user access, document your LAN, avoid the
- trouble of needing to print-screen your settings, import
- your user configuration into spreadsheets/databases for
- comparison and storage.
-
- Returned errorlevels:
-
- 9 - Syntax error.
- 8 - Must be logged in.
- 7 - Unable to access current subdirectory.
- 5 - Unable to find specified user/group.
- 2 - Error writing report file.
- 0 - Normal exit.
-
-
-
-
-
-
- Page 51 of 70
-
-
-
-
-
- NRPTCONN
-
- ** Netware 2.x only! **
-
-
- NTRPTCONN
-
- This utility will display the ten workstations with the
- greatest amount of total packet requests, kilobytes read,
- and kilobytes written. (one kilobytes = 1024 bytes). A
- spreadsheet importable data file will be written with all
- workstation information. Then, sampling will be taken every
- ten seconds, with the top five workstations displayed.
- Press any key to exit utility.
-
- User must have Console Operator rights.
-
- Usages: Find the workstation(s) that is/are hogging down
- server resources.
-
-
- Returned errorlevels:
-
- 9 - Syntax error.
- 8 - Must be logged in.
- 7 - Unable to access current subdirectory.
- 6 - Must be a console operator.
- 5 - Error writing report file.
- 4 - Cannot use with Netware 386.
- 0 - Normal exit.
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Page 52 of 70
-
-
-
-
-
- NRPTEQUA
-
- ** Supervisor-equivalency needed to run this utility! **
-
-
- NRPTEQUA
-
- This will create a printable report text file that will list
- all users in alphabetical order that have security
- equivalences to any and all other users. The report file
- will be names servername.EQU, where servername is replaced
- by the name of your file server.
-
- Returned errorlevels:
-
- 9 - Syntax error.
- 8 - Must be logged in.
- 7 - Unable to access current subdirectory.
- 6 - Must be supervisor-equivalent.
- 5 - Error writing report file.
- 0 - Normal exit.
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Page 53 of 70
-
-
-
-
-
- NRPTMHS
-
-
- NRPTMHS
-
- This utility will create a quick report text file on the
- settings of the MHS NETDIR.TAB file. The configuration info
- will be sent to a file called MHSHostname.MHS, where
- MHSHostname is replaced by the name of your MHS host. This
- info will include basic host configuration, and a sorted
- list of all local and remote users defined at this host.
-
- Also, a REMOTE.REM file will be created that has a file
- format matching a RightHandMan compatible REMOTE.REM file.
- This is to aid the adminsitrator maintain a list of 'Remote
- User's for all 'remote' locations that call a central mail
- hub.
-
- Note: RightHandMan compatibles currently known are
- Futurus Team and LANAces OfficeLogic.
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Page 54 of 70
-
-
-
-
-
- NRPTMHSU
-
-
- NRPTMHSU Drive:\SubDirectory
-
- Drive:\Subdirectory would most likely be F:\MHS\MAIL\USERS
- or a similar path that points to MHS's mail user
- subdirectories.
-
- This utility was created so that the network administrator
- can keep track of message traffic and disk space consumption
- of MHS mail messages. Especially, since a message can take
- 4K bytes (or more!) of disk space, it doesn't take many to
- result in a disk space full message on smaller volumes.
-
- Sample usage is: NRPTMHSU H:\MHS\MAIL\USERS
-
- Output will consist of:
-
- Sent Yesterday Files that have been created in the
- user's MHS mail directory on the previous
- date of this utility execution.
-
- This utility will also count deleted (but
- still salvagable files) that existed in
- this directory.
-
- Hence, the count may be below actual
- value.
-
- Sent Today Files that have been created in the
- user's MHS mail directory on the same
- date of this utility execution.
-
- This utility will also count deleted (but
- still salvagable files) that existed in
- this directory.
-
- Active Msgs Files that are in the user's MHS mail
- subdirectory.
-
- Filed Msgs Files that are in subdirectories further
- down the tree than the user's MHS mail
- subdirectory. (For example, additional
- storage mailboxs created (i.e., Futuris
- RightHandMan) would be counted.)
-
- Parcel Files Count of files that are located in the
- user's MHS parcel (IPARCEL) subdirectory.
- Deleted files are not counted.
-
-
-
- Page 55 of 70
-
-
-
-
-
- DiskSpace K Diskspace consumed in Kilobytes of all
- counted message and parcel files.
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Page 56 of 70
-
-
-
-
-
- NRPTPCON
-
-
- NRPTPCON Objectname
-
- If Objectname is a User, then create a report on PRINTCON
- settings of the specified user, if Objectname is a group,
- then create a report on all users that are a member of
- specified group.
-
- i.e. NRPTPCON Brenda create a report on Brenda,
- NRPTPCON MIS create a report for every user
- in the group MIS.
-
- This utility will read the specified User's PRINTCON.DAT and
- create a printable text file of all printer configuration
- parameters.
-
- Sample usages: Document a user's printer configuration
- setting; find dissimilar settings among users or groups.
-
-
- Returned errorlevels:
-
- 9 - Syntax error.
- 8 - Must be logged in.
- 7 - Unable to access current subdirectory.
- 6 - Specified user/group does not exist.
- 5 - Unable to access \MAIL subdirectory.
- 4 - User's PRINTCON.DAT file structure is corrupt.
- 2 - Error writing report file.
- 0 - Normal exit.
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Page 57 of 70
-
-
-
-
-
- NRPTSCRP
-
-
- NRPTSCRP Objectname
-
- If Objectname is a user, then create a report on the
- specified user's login script file, if Objectname is a
- group, then create a report on all users that are a member
- of specified group. If Objectname is SYSTEM, then create a
- report on the current server's system login script, and the
- AUTOEXEC.NCF file. (Current user must be supervisor-
- equivalent.) The report file will be file.SCR, with the
- Objectname replacing file.
-
- Examples:
-
- NRPTSCRP Brenda create a report on Brenda's
- personal login script.
-
- NRPTSCRP MIS create a login report for every
- user in the group called MIS.
-
- NRPTSCRP SYSTEM create a system report that
- will document the system login
- script and also the server's
- autoexec.ncf batch file.
-
- This utility will help you document the system and personal
- login scripts for your server.
-
- Sample usages: documenting your LAN..
-
- Returned errorlevels:
-
- 9 - Syntax error.
- 8 - Must be logged in.
- 7 - Unable to access current subdirectory.
- 6 - Specified user/group does not exist.
- 0 - Normal exit.
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Page 58 of 70
-
-
-
-
-
- NRPTOWN
-
-
- NRPTOWN Drive:\Subdirectory
-
- This utility will create a report of disk consumption sorted
- by owner. The report will consist of disk consumption of
- the current working subdirectory (or the directory specified
- on command line) and all of its subdirectories.
-
- Sample usages: management reports; statistical analysis;
- tracking causes of low disk space available; notifying
- groups that their disk usage is too high.
-
-
- Returned errorlevels:
-
- 9 - Syntax error.
- 8 - Must be logged in.
- 7 - Unable to access current subdirectory.
- 6 - Unable to access specified subdirectory.
- 5 - Working subdirectory does not exist on server.
- 4 - Error while accessing subdirectories.
- 2 - Error writing report file.
- 0 - Normal exit.
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Page 59 of 70
-
-
-
-
-
- NRPTSUB
-
-
- NRPTSUB Drive:\SubDirectory\FileMask [-A] [-ND] [-NE] [-NG]
- [-NH] [-NS]
-
- options:
- Drive: is from A: to Z:
- SubDirectory Subdirectory to start at
- FileMask (default: *.*) of files to access
- -NH No header information displayed
- -A Accumulate stats upward thru
- subdirectories.
- -NG No Graphics characters(Good for Printing)
- -ND No Dots displayed (Good for Redirection)
- -NE No Empty directories displayed
- -NS No Sort performed
- -DF Results to a importable NRPTSUB.TXT
- -EXT Enable optional extension summary
-
- Examples:
-
- NRPTSUB F:\USR\DARWIN
-
- Display by-subdirectory consumption starting at
- f:\usr\darwin sub.
-
- NRPTSUB F:\USR\DARWIN -A
-
- Display accumulated consumption starting at
- f:\usr\darwin sub.
-
- NRPTSUB F:\
-
- Display by-subdirectory consumption starting at
- root of F:
-
- NRPTSUB F:\ -ND > FROOT.TXT
-
- Same as above, but with No Dots displayed during
- execution.
-
- NRPTSUB F:\ -A -EXT -DF
-
- Summarize and accumulate disk consumption by
- subdirectory name and extension which would then
- exported to a comma-delimited text file
- (NRTPSUB.TXT).
-
-
-
-
-
- Page 60 of 70
-
-
-
-
-
- NSELPRNJ
-
-
- NSELPRNJ [SET]
-
- Allows the user to interactively select print jobs to be
- assigned to each of the printer ports, ask to activate, and
- ask to save to a personal routing 'database' file.
-
- NSELPRNJ SET will read the enduser's personal routing
- 'database' file, and activate those print jobname settings.
-
- Setup instructions:
-
- Add the 'Default Printer Routing' as a menu item in your
- standard user menu, have it execute NSELPRNJ.
-
- Add NSELPRNJ SET to your system login script.
-
- Inform users that they can setup their default
- printer routing by choosing this utility in your
- menu program. (Also, remind them that they can
- change these options at anytime.)
-
- Installation complete. From now on, when a user
- logs into the file server, his choosen printer
- routings are automatically activated.
-
- Sample usages: administrator no longer has to maintain a
- personal login script or other manual settings for the
- enduser; with this, if the enduser is smart enough to pick
- from a menu, then he can maintain his own printer routing
- needs! Frees administrator from maintaining the users
- printer routing through personal login scripts.
-
-
- Returned errorlevels:
-
- 9 - Syntax error.
- 8 - Must be logged in.
- 7 - Unable to access current subdirectory.
- 6 - Abnormal user identity.
- 5 - Insufficent rights or unable to find PRINTCON.DAT in
- current user's MAIL subdirectory.
- 4 - Users PRINTCON.DAT file is corrupt.
- 0 - Normal exit.
-
-
-
-
-
-
-
- Page 61 of 70
-
-
-
-
-
- NSETTIME
-
-
- NSETTIME
-
- Note: You must be a Console Operator on the file server in
- order to change the date/time of the file servers.
-
- This utility will set all attached servers to the same date
- and time as the workstation running this utility. The
- workstation must be first set to the exact time that you
- want the servers synchronized for.
-
-
- Returned errorlevels:
-
- 8 - Must be logged in.
- 1 - Unable to set the date/time on all servers.
- 0 - Normal exit.
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Page 62 of 70
-
-
-
-
-
- NSTRING
-
-
- NSTRING Searchtext Drive:\Pathname\Filename.Ext
-
- This utility will search thru the specified Filename
- searching to find the specified Searchtext, and if it finds
- it, the utility will return an ErrorLevel 1, else return an
- ErrorLevel 0.
-
- If the file is not found or on other fatal occurences, it
- will return an errorlevel above 1 depending on the error.
-
-
- Returned errorlevels:
-
- > 1 Other error
- 1 - Text found
- 0 - Text not found
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Page 63 of 70
-
-
-
-
-
- NSUBOWN
-
- ** Supervisor-equivalency needed to run this utility! **
-
-
- NSUBOWN Drive:\Pathname
-
- This utility will display/change the file ownership of all
- subdirectories below it using the name of the immediate
- subdirectories at execution.
-
- For instance:
-
- Currently at H:\USR, and when using DIR, it will
- display:
- ALVIN <Subdirectory>
- BETTY <Subdirectory>
- DENNIS <Subdirectory>
- MiscFile <some files...>
-
- Execute this utility by NSUBOWN [return]
-
- The utility check if ALVIN is a valid owner name, if it
- is then it will set ALVIN's subdirectory (and all
- further below) to the owner set to ALVIN.
-
- Then, it will check if BETTY is a valid owner name, if
- it is then it will set BETTY has being the owner of
- BETTY subdirectory (and all further below).
-
- It will do this to DENNIS also. But, if DENNIS does not
- exist as an Owner, then it will display Does Not Exist,
- and skip to the next subdirectory.
-
- Sample usages: If this is done to the personal
- subdirectories it will give a more accurate consumption of
- disk space when using the NRPTOWN utility; setting files to
- their correct owner(LoginName, Group, Server) will make them
- easier to administer.
-
- Returned errorlevels:
-
- 9 - Syntax error.
- 8 - Must be logged in.
- 7 - Unable to access current subdirectory.
- 6 - Must be a supervisor or equivalent.
- 5 - Unable to access specified subdirectory.
- 4 - Subdirectory must exist on server.
- 3 - Error accessing subdirectories.
- 0 - Normal exit.
-
-
-
- Page 64 of 70
-
-
-
-
-
- NTRAFFIC
-
-
- NTRAFFIC
-
- This utility will first display the top ten workstations
- with the most packets sent/received and error stats, then
- display the top five most active workstations every ten
- seconds. The top five most active list will cycle for five
- minutes or until a keystroke is pressed.
-
- Sample usages: Find the most active workstations; find a
- workstation that has an application "babbling" on the wire.
-
- Returned errorlevels:
-
- 9 - Syntax error.
- 8 - Must be logged in.
- 7 - Unable to access current subdirectory.
- 6 - Specified group does not exist.
- 2 - Error writing report file.
- 0 - Normal exit.
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Page 65 of 70
-
-
-
-
-
- NXMSMEM
-
-
- NXMSMEM
-
- This program will return the amount of XMS memory available.
- (Microsoft's HIMEM.SYS is a XMS memory driver). It will
- return the amount 10K increments as an Errorlevel. For
- example, if NXMSMEM found 2304K available, then it will
- return with an errorlevel of 230. The maximum errorlevel
- returned is 255.
-
- Sample usages: Insert before a application call in a batch
- file, and if there isn't enough memory available, then goto
- the appropriate message in the batch file; if there is
- enough XMS memory then load the protected version of the
- application instead of the real mode version; avoid the
- maintenance headache of keeping multiple AUTOEXEC.BAT and
- CONFIG.SYS files for different machines.
-
- For example:
-
- Use it to load the XMSNETX instead of the NETx shell.
-
- NXMSMEM
- if errorlevel 7 XMSNETX
- NETX
-
- Use it load the appropiate version of Informix
- SmartWare.
-
- NXMSMEM
- if errorlevel 96 goto ProtMode
- SMART %1 %2
- goto Next
- echo Loading in Protected Mode
- :ProtMode
- echo Loading in Protected Mode
- SMARTP %1 %2
- :Next
-
- Returned errorlevels:
-
- XXX - Number of megabytes of free XMS memory.
-
-
-
-
-
-
-
-
-
- Page 66 of 70
-
-
-
-
-
- Table A
-
-
- Diagnostic stats include: (NCARD also uses the list below)
-
- # stands for "Number of times that"
-
- IPX Total Send Packets
- # applications called IPX to send a packet.
-
- IPX Err Malformed Packets
- # applications gave IPX a malformed packet.
-
- IPX Get ECB Requests
- # IPX created a Receive ECB for a incoming packet.
-
- IPX Err Get ECB Failures
- # IPX was unable to supply an ECB for an incoming
- packet.
-
- IPX ECB Listen Count
- # applications gave IPX a Listen ECB.
-
- IPX Err ECB Cancel Failures
- # IPX was unable to cancel an ECB.
-
- IPX AES Events
- # IPX used AES to schedule an event.
-
- IPX Err AES postponed Events
- # IPX was unable to service an AES event when scheduled.
-
- IPX Max Configured Sockets
- Number of Sockets available as set in configuration.
-
- IPX Max Open Sockets
- Maximum number of concurrently Open Sockets.
-
- IPX Err Open Socket Failures
- # an Open Socket Failure due to either all sockets used
- or socket was already open.
-
- IPX Err Find Route Failures
- # IPX was not able to find a route to the server.
-
- SPX Max Configured Connections
- Maximum number of Connections available as set in
- configuration parameters.
-
- SPX Max Used Connections
- Maximum number of concurrently used Connections.
-
-
- Page 67 of 70
-
-
-
-
-
-
- SPX Estab Connect Requests
- # applications have called SPX to establish a
- Connection.
-
- SPX Estab Connect Failures
- # a connection request failed.
-
- SPX Err Listen Connect Failures
- # applications called SPX to listen for connection
- requests.
-
- SPX Send Sequenced Packets
- # applications called SPX to send a sequenced packet.
-
- SPX Err Windows Chokes
- # a Send Request failed because the destination station
- did not allocate a receive buffer.
-
- SPX Err Send Failures
- # applications gave SPX a bad send packet.
-
- SPX Err Abort Connections
- # an application aborted a SPX connection. This is not
- nice for an application to do.
-
- SPX ECB Listen Packets
- # applications gave SPX a Listen ECB.
-
- SPX Err ECB Bad Listen Packet
- # applications gave SPX a malformed packet.
-
- SPX Err Receive Duplicate Packets
- # SPX has discarded a duplicate of a previously received
- packet.
-
- SPX Incoming Packets
- # the driver gave SPX an incoming packet.
-
- SPX Err Bad Incoming Packets
- # SPX received a packet with an incorrect connection ID.
-
- SPX Err No Session Listen ECB
- # SPX did not have a Connection Listen ECB to accept an
- incoming Connection Request packet.
-
- SPX Err Watchdog Destroy Sessions
- # the Watchdog process destroyed an invalid connection.
-
- Shl Total Shell Requests
- # the shell sent requests to a File Server.
-
-
- Page 68 of 70
-
-
-
-
-
-
- Shl Err Operator Aborts
- # the user told the shell to 'A'bort the connection when
- it encountered a network error.
-
- Shl Err Operator Retries
- # the User told the shell to 'R'etry the connection when
- it encountered a Network error.
-
- Shl Err Time Outs (Server TimedOut)
- # the shell did not a receive a reply from the server.
-
- Shl Err Write Error
- # the driver was unable to send a request (even after
- several attempts).
-
- Shl Err Invalid Reply Header
- # an unexpected packet was received.
-
- Shl Err Invalid Slot
- # a received packet specified an incorrect connection
- ID.
-
- Shl Err Invalid Sequence #
- # a received packet specified an incorrect sequence
- number.
-
- Shl Err Receive OverRun
- # a packet was received before the driver could process
- it.
-
- Shl Err No Router Found
- # the shell could not find an alternate route to the
- destination address.
-
- Shl Err Being Processed (Server Busy)
- # the Server replied that it was still processing the
- previous packet.
-
- Shl Err Unknown Error
- # an unknown error occurred with a received packet.
-
- Shl Err Invalid Server Slot
- # the shell used an invalid connection number according
- to the server.
-
- Shl Err Alloc No Slots Avail.
- # the server replied that it did not have any available
- connection slots.
-
- Shl Err Alloc Server is Down
-
-
- Page 69 of 70
-
-
-
-
-
- # applications specified a file server that is down.
-
- Drv Total Tx Packets
- Number of successfully transmitted packets.
-
- Drv Total Rx Packets
- Number of successfully received packets.
-
- Drv Err Tx Retry Count
- # a packet was resent. (like when a collision occurs)
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Page 70 of 70
-